package controllers;

import play.*;
import play.mvc.*;

import java.util.*;

import common.TagFetcher;
import common.log.PlainLogger;
import controllers.common.Ceng433BaseController;

import models.*;

public class Application extends Ceng433BaseController {

  public static void index() {
    renderHtml("<html><body>HELLO WORLD!</body></html>");
  }
  
  public static void index2() {
    try {
      Thread.sleep(2000);
    } catch (Exception exc) {}
    renderHtml("<html><body>HELLO WORLD!</body></html>");
  }
  
  public static void testJS() {
    render();
  }
  
  public static void testTags() {
    TagFetcher.getTags("http://www.bbc.co.uk/news/world-middle-east-17018851?print=true");
    render();
  }

}